﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace RockBus.DataContracts
{
    [MessageContract(WrapperNamespace = StringConstants.SetInternalConfigurationAction)]
    public class SetInternalConfigurationRequest
    {
        public SetInternalConfigurationRequest(InternalConfiguration configuration)
        {
            this.InternalConfiguration = configuration;
        }

        [MessageBodyMember]
        public InternalConfiguration InternalConfiguration { get; set; }
    }

    [MessageContract(WrapperNamespace = StringConstants.GetInternalConfigurationAction)]
    public class GetInternalConfigurationRequest
    {
    }

    [MessageContract(WrapperNamespace = StringConstants.GetInternalConfigurationResponseAction)]
    public class GetInternalConfigurationResponse
    {
        public GetInternalConfigurationResponse(InternalConfiguration configuration)
        {
            this.InternalConfiguration = configuration;
        }

        [MessageBodyMember]
        public InternalConfiguration InternalConfiguration { get; set; }
    }
}
